package com.bootdo.system.dao;

import com.bootdo.system.domain.ProductConfigDO;

import java.util.List;
import java.util.Map;

import com.bootdo.system.vo.ListWithOrderVo;
import org.apache.ibatis.annotations.Mapper;

/**
 * 产品配置表
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2021-06-15 13:40:52
 */
@Mapper
public interface ProductConfigDao {

	ProductConfigDO get(Integer id);
	
	List<ProductConfigDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(ProductConfigDO config);
	
	int update(ProductConfigDO config);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

    Integer getInfoByProNameAndGuige(ProductConfigDO productConfigDO);

    List<ListWithOrderVo> getListWithOrder(Map<String, Object> map);

	int countListWithOrder(Map<String, Object> map);
}
